package com.ultrapower.bean;

public class AcceptApplicationBean {
	private final String host;
	private final ApplicationBean application;

	public AcceptApplicationBean(String host, ApplicationBean application) {
		if (host == null) {
			throw new NullPointerException("host must not be null");
		}
		if (application == null) {
			throw new NullPointerException("application must not be null");
		}
		this.application = application;
		this.host = host;
	}

	@Override
	public String toString() {
		return "AcceptApplicationBean [host=" + host + ", application=" + application + "]";
	}

}
